﻿// Author:					HungNM
// Created:					22-08-2012
// Last Modified:			22-08-2012
//

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Security.Cryptography;
using System.Web;
using System.Web.UI.HtmlControls;
using System.Web.UI;

namespace eProject.Business
{
    public class SessionClass
    {
        private string authRequestPage;

        public static string AuthRequestPage
        {
            get { return GetSession(); }
            set { SetSession(value); }
        }

        private static string GetSession()
        {
            return HttpContext.Current.Session["RequestURL"] == null ? "~/" : HttpContext.Current.Session["RequestURL"].ToString();
        }

        private static void SetSession(string RequestURL)
        {
            HttpContext.Current.Session["RequestURL"] = RequestURL;
        }
    }
}
